package com.sanjiahantang.youjiaclient.module.pdf.beans;

import com.google.gson.Gson;
import com.sanjiahantang.youjiaclient.base.BaseBean;
import com.sanjiahantang.youjiaclient.module.goods.beans.GoodsBean;

/**
 * Created by yan on 2017/12/25.
 */

public class PdfInfoBean extends BaseBean {

  /*    "code": 200,
        "data": "{\"code\":\"0\",\"msg\":\"请求成功\",\"pdfUrl\":\"http://test.sign.zqsign.com:8081//contracts/pdf/dc652903a9dbef6151206794076b5af6/24-decoreate-contract-839\"}",
              "message": "请求成功",
              "timestamp": 0*/

    private String data;

    public PdfInfoBean.Data getData() {
        return new Gson().fromJson(data, PdfInfoBean.Data.class);
    }

    public void setData(String data) {
        this.data = data;
    }

    public class Data {


        private String msg;

        private String pdfUrl;

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }

        public String getPdfUrl() {
            return pdfUrl;
        }

        public void setPdfUrl(String pdfUrl) {
            this.pdfUrl = pdfUrl;
        }
    }
}
